Skip to content

chore: dedupe shared rules into user-global CLAUDE.md - #62

Merged
sarg3nt merged 1 commit into
mainfrom
chore/dedup-claude-md
May 12, 2026
Merged

chore: dedupe shared rules into user-global CLAUDE.md#62
sarg3nt merged 1 commit into
mainfrom
chore/dedup-claude-md

Conversation

@sarg3nt

@sarg3nt sarg3nt commented May 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • The Branch Naming Convention, PR Convention, Issue Labels, Code Block Formatting, and Markdown Linting sections of this CLAUDE.md were generic preferences duplicated word-for-word in homelab and ubuntu-ha-proxy-install.
  • Promoted them to my user-global ~/.claude/CLAUDE.md so they apply to every Claude Code session regardless of repo.
  • What remains here is the gearbox-specific scaffolding: the GitHub-driven workflow steps (issue → project board → branch → PR), the project ID + board configuration, the docs/reports/ path for scan output, and the TOC-after-heading note for new docs.

Net change: −33 lines, +4 lines.

Companion PRs:

  • homelab — chore/dedup-claude-md
  • ubuntu-ha-proxy-install — chore/dedup-claude-md

Test plan

  • CI green (lint, build, security review).
  • No behavior change — purely docs.

🤖 Generated with Claude Code

The "Branch Naming Convention", "PR Convention", "Issue Labels",
"Code Block Formatting", and "Markdown Linting" sections were
generic preferences duplicated across homelab, gearbox, and
ubuntu-ha-proxy-install. They've been promoted to ~/.claude/CLAUDE.md.

What remains here is the gearbox-specific scaffolding around them:
the GitHub-driven workflow steps (issues + project board), the
gearbox project ID and board configuration, the docs/reports/
convention, and the TOC-after-heading note for new docs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 12, 2026 18:56
@github-actions github-actions Bot added the docs label May 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR trims repo-local CLAUDE.md guidance by removing several generic workflow and markdown preference sections and replacing them with references to a user-global ~/.claude/CLAUDE.md, leaving only gearbox-specific workflow and documentation requirements in-repo.

Changes:

  • Replaced detailed branch/PR/label conventions with a pointer to ~/.claude/CLAUDE.md.
  • Removed the “User Preferences / Code Block Formatting” section.
  • Consolidated markdown/docs guidance into a shorter section that points to ~/.claude/CLAUDE.md while retaining the “TOC after main heading” requirement.

Comment thread CLAUDE.md
Comment on lines +107 to 108
Generic branching/PR/label rules live in `~/.claude/CLAUDE.md`. All of them apply here unmodified — `feature/...` and `fix/...` branches from `main`, `Closes #N` in PR bodies, the four standard labels.

Comment thread CLAUDE.md
Comment on lines +221 to 222
See `~/.claude/CLAUDE.md` for markdown style and the `docs/` + kebab-case rule. This repo also requires a TOC after the main heading in new docs.

@sarg3nt
sarg3nt merged commit 9db25e9 into main May 12, 2026
26 checks passed
@sarg3nt
sarg3nt deleted the chore/dedup-claude-md branch May 12, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants